ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternPen Class / PatternPen Constructor / PatternPen Constructor(Int32[],Color,Int32,DashCap,LineJoin)
A System.Int32 array indicates the pattern of the pen.
A Color indicates the color of the pen.
An int indicates the width of the pen.
A DashCap indicates the cap style of the pen.
A LineJoin indicates the join style of the pen.

In This Topic
    PatternPen Constructor(Int32[],Color,Int32,DashCap,LineJoin)
    In This Topic
    Initializes a new instance of the PatternPen class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal pattern() As Integer, _
       ByVal color As Color, _
       ByVal width As Integer, _
       ByVal cap As DashCap, _
       ByVal join As LineJoin _
    )
    public PatternPen( 
       int[] pattern,
       Color color,
       int width,
       DashCap cap,
       LineJoin join
    )

    Parameters

    pattern
    A System.Int32 array indicates the pattern of the pen.
    color
    A Color indicates the color of the pen.
    width
    An int indicates the width of the pen.
    cap
    A DashCap indicates the cap style of the pen.
    join
    A LineJoin indicates the join style of the pen.
    See Also